<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
  <title>JSP - Hello World</title>
</head>
<body>
<h1><%= "Hello World!" %></h1>
<br/>
        <%--以超链接的形式下载文件--%>
        <a href="${pageContext.request.contextPath}/resources/1.jpg">01.jpg</a>
        <a href="${pageContext.request.contextPath}/resources/2.jpg">02.jpg</a>
        <a href="${pageContext.request.contextPath}/resources/3.jpg">03.jpg</a>
        <a href="${pageContext.request.contextPath}/resources/4.jpg">04.jpg</a>

</body>
</html>